<template>
	<div>
		<Button type="primary" @click.native="test">Display dialog box</Button>
		<Children :show.sync="show" />
	</div>
</template>

<script>
	import Children from "./children.vue";
	export default {
		data() {
			return {
				show: false,
			};
		},
		methods: {
			test() {
				this.show = true;
			}
		},
		components: {
			Children
		}
	};
</script>

<style>

</style>